<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}

<link rel="stylesheet" href="static/css/jquery.treeview.css" type="text/css" />
<script src="static/js/jquery.treeview.js"></script>

<script>
function open_list(obj)
{
	window.top.$("#current_pos_attr").html(' &gt; ' + $(obj).html());
}
$(document).ready(function(){
    $("#category_tree").treeview({
			control: "#treecontrol",
			persist: "cookie",
			cookieId: "treeview-black"
	});
    
    $('.filetree .folder').click(function(){
        $(this).siblings('ul').toggle();
    });
	
	$('.filetree ul').hide();
});
</script>

<style type="text/css">
.filetree *{white-space:nowrap;}
.filetree span.folder, .filetree span.file{display:auto;padding:1px 0 1px 16px;}
</style>
<!--
<div id="treecontrol">
    <span style="display:none">
		<a href="#"></a>
		<a href="#"></a>
	</span>
	<a href="#"><img src="static/images/minus.gif" /> <img src="static/images/application_side_expand.png" /> 展开/收缩</a>
</div>
-->
{$categorys}

{template index/footer}